package java3_2;

/**
 * 5：求1-20之间的数的乘积(double)
 */
public class homework5 {
    public static void main(String[] args) {
        double i = 1;
        double x = 1;
        while (i<=20){
            i++;
            x = x*i;
        }
        System.out.println(x);
    }
}
